package com.summer.shopping.mapper;

import com.summer.shopping.domain.table.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
* @author 86136
* @description 针对表【product(商品表)】的数据库操作Mapper
* @createDate 2025-06-20 13:57:18
* @Entity com.summer.shopping.domain/table.Product
*/

public interface ProductMapper extends BaseMapper<Product> {

    int batchReduceStock(@Param("paramMap") Map<Long, Long> pdIdAndpdNum);
}




